import Vue from 'vue'
import Toasted from 'vue-toasted'

Vue.use(Toasted)

export function toast (text) {
  Vue.toasted.show(text, {
    theme: 'primary',
    position: 'bottom-center',
    duration: 1500
  })
}
